package com.zhyt.intelligentpipeline.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhyt.intelligentpipeline.model.CorrosionDetection;

import java.util.List;

public interface CorrosionDetectionService extends IService<CorrosionDetection> {


    /**
     * 根据管段ID获取缺陷信息
     * */
    List<CorrosionDetection> getCorrosionDetectionByPipelineID(String pipelineId);


    /**
     * 获取某管段腐蚀信息的数量
     * */

    int getCorrosionDetectionsByCount(String pipelineId);
}
